package com.sun.talk.enums

enum class OperatorFriendRequestTypeEnum(val type:Int, val msg :String) {

    IGNORE(0,"忽略"),
    PASS(1,"通过");

    companion object{
        fun getMsgByKey(type: Int): String {
            return OperatorFriendRequestTypeEnum.values().firstOrNull { it.type == type }?.msg?:""
        }
    }
}